﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TMT.Data.Common;

namespace TMT.Data.Service
{
    public interface IAccountService
    {
        AccountMaster GetAccountByUserId(string userId);
        OperationResult AddAccount(AccountMaster account);
        OperationResult UpdateAccount(AccountMaster account);
        OperationResult Login(AccountMaster account);
        IList<AccountMaster> GetAll();
    }
}
